package com.bupt.bean;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@ToString
@Entity
@Table(name = "channel_temperature_t", schema = "dev", catalog = "")
public class Temperature {

    @Id
    private Integer channelTemperatureId;

    private Integer deviceId;

    private Integer deviceChannelId;

    private Integer channelSectionId;

    private Timestamp creatTime;

    private Float temperature;
}
